package cn.hk.vaccination.service.impl;

import cn.hk.vaccination.domain.SubscribeSetting;
import cn.hk.vaccination.mapper.SubscribeSettingMapper;
import cn.hk.vaccination.service.SubscribeSettingService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 预约日设置表 服务实现类
 * </p>
 *
 * @author xu
 * @since 2023-03-12
 */
@Service
public class SubscribeSettingServiceImpl extends ServiceImpl<SubscribeSettingMapper, SubscribeSetting> implements SubscribeSettingService {
    @Autowired
    private SubscribeSettingMapper subscribeSettingMapper;

    @Override
    public SubscribeSetting getOderDateBYDeptId(Long deptId) {

        return  subscribeSettingMapper.selectOneByDeptId(deptId);
    }


}
